<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="css/mui.min.css">
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			
			.mui-bar~.mui-content .mui-fullscreen {
				top: 44px;
				height: auto;
			}
			
			.mui-pull-top-tips {
				position: absolute;
				top: -20px;
				left: 50%;
				margin-left: -25px;
				width: 40px;
				height: 40px;
				border-radius: 100%;
				z-index: 1;
			}
			
			.mui-bar~.mui-pull-top-tips {
				top: 24px;
			}
			
			.mui-pull-top-wrapper {
				width: 42px;
				height: 42px;
				display: block;
				text-align: center;
				background-color: #efeff4;
				border: 1px solid #ddd;
				border-radius: 25px;
				background-clip: padding-box;
				box-shadow: 0 4px 10px #bbb;
				overflow: hidden;
			}
			
			.mui-pull-top-tips.mui-transitioning {
				-webkit-transition-duration: 200ms;
				transition-duration: 200ms;
			}
			
			.mui-pull-top-tips .mui-pull-loading {
				/*-webkit-backface-visibility: hidden;
				-webkit-transition-duration: 400ms;
				transition-duration: 400ms;*/
				margin: 0;
			}
			
			.mui-pull-top-wrapper .mui-icon,
			.mui-pull-top-wrapper .mui-spinner {
				margin-top: 7px;
			}
			
			.mui-pull-top-wrapper .mui-icon.mui-reverse {
				/*-webkit-transform: rotate(180deg) translateZ(0);*/
			}
			
			.mui-pull-bottom-tips {
				text-align: center;
				background-color: #efeff4;
				font-size: 15px;
				line-height: 40px;
				color: #777;
			}
			
			.mui-pull-top-canvas {
				overflow: hidden;
				background-color: #fafafa;
				border-radius: 40px;
				box-shadow: 0 4px 10px #bbb;
				width: 40px;
				height: 40px;
				margin: 0 auto;
			}
			
			.mui-pull-top-canvas canvas {
				width: 40px;
			}
			
			.mui-slider-indicator.mui-segmented-control {
				background-color: white;
			}
			
			#sliderSegmentedControl .mui-control-item {
				border-bottom: 2px solid white;
				position: relative;
			}
			
			#sliderSegmentedControl .mui-active:after {
				position: absolute;
				bottom: 0px;
				left: calc(50% - 5px);
				content: "";
				display: inline-block;
				width: 10px;
				height: 4px;
				border-radius: 5px;
				background: #007aff;
			}
			
			.mui-segmented-control.mui-scroll-wrapper {
				height: 40px;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title">商户排行</h1>
		</header>
		<div class="mui-content">
			<h3>功能待完善</h3>
			<!--<div id="slider" class="mui-slider mui-fullscreen">
				<div id="sliderSegmentedControl" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
					<div class="mui-scroll">
						<a class="mui-control-item mui-active" href="#item1mobile" data-wid="tab-top-subpage-1.html">
							公园
						</a>
						<a class="mui-control-item" href="#item2mobile" data-wid="tab-top-subpage-2.html">
							游泳馆
						</a>
						<a class="mui-control-item" href="#item3mobile" data-wid="tab-top-subpage-3.html">
							宾馆
						</a>
						<a class="mui-control-item" href="#item4mobile" data-wid="tab-top-subpage-4.html">
							体育馆
						</a>
					</div>
				</div>

			</div>-->
		</div>
		<script src="js/mui.min.js"></script>
		<script src="js/webviewGroup.js" type="text/javascript" charset="utf-8"></script>
		<script>
			mui.init();

//			mui.plusReady(function() {
//				var _self = plus.webview.currentWebview();
//				var group = new webviewGroup(_self.id, {
//					items: [{
//						id: "tab-top-subpage-1.html",
//						url: "tab-top-subpage-1.html",
//						extras: {}
//					}, {
//						id: "tab-top-subpage-2.html",
//						url: "tab-top-subpage-2.html",
//						extras: {}
//					}, {
//						id: "tab-top-subpage-3.html",
//						url: "tab-top-subpage-3.html",
//						extras: {}
//					}, {
//						id: "tab-top-subpage-4.html",
//						url: "tab-top-subpage-4.html",
//						extras: {}
//					}],
//					onChange: function(obj) {
//						var c = document.querySelector(".mui-control-item.mui-active");
//						if(c) {
//							c.classList.remove("mui-active");
//						}
//						var target = document.querySelector(".mui-scroll .mui-control-item:nth-child(" + (parseInt(obj.index) + 1) + ")");
//						target.classList.add("mui-active");
//						if(target.scrollIntoView) {
//							target.scrollIntoView();
//						}
//					}
//				});
//				mui(".mui-scroll").on("tap", ".mui-control-item", function(e) {
//					var wid = this.getAttribute("data-wid");
//					group.switchTab(wid);
//				});
//				//关闭等待框
//				plus.nativeUI.closeWaiting();
//			});
			
			
			
			//			mui.back = function() {
			//				var _self = plus.webview.currentWebview();
			//				_self.close("auto");
			//			}
		</script>
	</body>

</html>